<?php

class Widget extends AppModel {
	  
	public $validate = 
		array(
			'name' => array(
			'rule' => 'notEmpty'
			),
			'value' => array(
			'rule' => 'notEmpty'
		)
	);

}

?>